home *** CD-ROM | disk | FTP | other *** search
- Components.utils.import("resource://samfind/rss/samfind_modrssutils.jsm");
-
- var EXPORTED_SYMBOLS = ["samfindRSSGetLink", "samfindRSSGetTitle", "samfindRSSGetDate", "samfindRSSGetImage", "samfindRSSGetContent"];
-
- function samfindRSSGetLink(websiteRssUrl, item)
- {
- return null;
- }
-
- function samfindRSSGetTitle(websiteRssUrl, item)
- {
- return null;
- }
-
- function samfindRSSGetDate(websiteRssUrl, item)
- {
- return null;
- }
-
- function samfindRSSGetImage(websiteRssUrl, item)
- {
- return " ";
- }
-
- function samfindRSSGetContent(websiteRssUrl, item, title, link)
- {
- var content = (item.getElementsByTagName("description"))[0];
- if (!content)
- {
- return null;
- }
- var response = content.textContent;
- response = response.replace('<td width="80" align="center" valign="top"><font style="font-size:85%;font-family:arial,sans-serif"></font></td>', "");
- response = response.replace('<br /><div style="padding-top:0.8em;"><img alt="" height="1" width="1" /></div>', "");
- response = response.replace("<nobr>", " <nobr>", "g");
- return response;
- }